package com.tutu.user.service;

import java.util.List;

import com.tutu.user.entity.SysUserGroupPower;

public interface ISysUserGroupPowerService {

	/**
	 * 清除用户组权限
	 * @param sysUserGroupPower
	 */
	void deleteSysUserGroupPower(SysUserGroupPower sysUserGroupPower) throws Exception;
	/**
	 * 保存用户组权限
	 * @param sysUserGroupPowers
	 */
	void saveSysUserGroupPowers(String groupId, List<String> menuIds) throws Exception;
	/**
	 * 获取角色权限
	 * @return
	 * @throws Exception
	 */
	List<SysUserGroupPower> getSysUserGroupPowersByRoleId(String groupId) throws Exception;
}
